package signAction;

import java.util.List;

import signBean.AdminDbManager;

public class AdminSeekAction {

	private String name;
	private String gender;
	private String depatement;
	private String phone;
	private List list;
	
	public String execute(){
		AdminDbManager ad = new AdminDbManager();
		list = ad.seekUsers(name, gender, depatement, phone);
		return "list";
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getDepatement() {
		return depatement;
	}
	public void setDepatement(String depatement) {
		this.depatement = depatement;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}
	
}
